package com.shinechain.dao;

import com.shinechain.model.BotAd;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "botAdMapper")
public interface BotAdMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BotAd record);

    int insertSelective(BotAd record);

    BotAd selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BotAd record);

    int updateByPrimaryKey(BotAd record);

    List<BotAd> findAll();
}